package com.chonor.mall.dto;


import com.chonor.mall.model.Coupon;
import com.chonor.mall.model.CouponProduct;
import com.chonor.mall.model.CouponProductCategory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 优惠券信息封装，包括绑定商品和绑定分类
 * Created by macro on 2018/8/28.
 */
public class CouponParam extends Coupon {
    @Getter
    @Setter
    @ApiModelProperty("优惠券绑定的商品")
    private List<CouponProduct> productRelationList;
    @Getter
    @Setter
    @ApiModelProperty("优惠券绑定的商品分类")
    private List<CouponProductCategory> productCategoryRelationList;
}
